package com.ph.shopping.facade.product.vo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 商品图片
 * @author hewl
 *
 */
public class PhProductImageVo  implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -1202418313955387347L;

	/**  */
    private Long id;

    /** 图片路径 */
    private String url;

    /** 商品id */
    private Long productId;

    /** 排序 */
    private Integer sort;

    /** 图片类型 */
    private String type;

    /** 创建日期 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}